<?php
/*
  default.thtml design for CakePHP (http://www.cakephp.org)
  ported from http://www.oswd.org/ (open source template)
  
  The designs distributed at OSWD each carry their own seperate
  open source license which is chosen by the designer 
  when it is submitted to the site.
  
  ported by Shunro Dozono (dozono :@nospam@: gmail.com)
  2006/7/10
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta name="author" content="Luka Cvrk (www.solucija.com)" />
        <?php echo $this->Html->charset('UTF-8')?>
        <?php echo $this->Html->css('cake.forms', 'stylesheet', array("media"=>"all" ));?>
        <?php echo $this->Html->css('internet_services', 'stylesheet', array("media"=>"all" ));?>
	<?php echo $this->Html->script('jquery');?><!--Include jQuery library -->
	<title>CakePHP : The PHP Rapid Development Framework :: <?php echo $title_for_layout?></title>
</head>
<body>
	<div class="content">
		<div class="header">
			<div class="top_info">
				<div class="top_info_right">
					<p><b>You are not Logged in!</b> <a href="#">Log in</a> to check your messages.<br />
					Do you want to <a href="#">Log in</a> or <a href="#">register</a>?</p>
				</div>		
				<div class="top_info_left">
					<p><b>22. May, 2012</b> - Monday<br />
					Check todays <a href="#">hot topics</a> or <a href="#">new keywords</a></p>
				</div>
			</div>
			<div class="logo">
				<h1><a href="#" title="Centralized Internet Services"><span class="dark">Trend</span>Catcher</a></h1>
			</div>
		</div>
		
		<div class="bar">
			<ul>
				<li class="browse_category">Select Search Category:</li>
				<li><?php echo $this->Js->link('Home',array('controller'=>'contents','action'=>'index'),array('update'=>'#dynamic_content'));?></li>
				<li class="active">Opinion</li>
				<li><a href="http://manual.cakephp.org" accesskey="m">Manual</a></li>
				<li><a href="http://api.cakephp.org/" accesskey="a">API</a></li>
				<li><a href="https://trac.cakephp.org" accesskey="t">Trac</a></li>
				<li><a href="http://cakeforge.org" accesskey="f">Contact</a></li>
			</ul>
		</div>
		<div class="search_field_s">
			<form method="post" action="?">
				<div class="search_form_s">
				<p>Search the Web: <input type="text" name="search" class="search_s" /> <input type="submit" value="Search" class="submit_s" /> <a class="grey" href="#">Advanced</a></p>
				</div>
			</form>
			
			<p>Please <a href="#">Sign in</a> or <a href="#">Register</a></p>
		</div>

		<div class="left">

			<?php /*if ($this->controller->Session->check('Message.flash')) $this->controller->Session->flash();*/ ?>
                        <?php echo $content_for_layout?>

		</div><!-- end left -->	
		<div class="right">
			<h3>Top Articles:</h3>
			<?php foreach($topArticles as $t){ ?>
			<div class="right_articles">
			<p><?php echo $this->Html->image('image.gif', array("class"=>"image","alt"=>"Image","title"=>"Image"));?><b><?php echo $t['title']; ?></b><br />
			<?php echo $t['description']; ?></p>
			<?php echo $this->Html->link('more details...', $t['link']); ?>
			</div>
			<?php } ?>

			<h3>Related Readings:</h3>
			<?php foreach($relatedArticles as $r){ ?>
			<div class="right_articles">
			<p><?php echo $this->Html->image('image.gif', array("class"=>"image","alt"=>"Image","title"=>"Image"));?><b><?php echo $r['title'] ?></b><br />
			<?php echo $r['description'] ?>
			<?php echo $this->Html->link('more details...', $r['link']); ?>
			</p>
			</div>
			<?php } ?>
		</div>	
		<div class="footer">
			<p><a href="#">RSS Feed</a> | <a href="#">Contact</a> | <a href="#">Accessibility</a> | <a href="#">Products</a> | <a href="#">Disclaimer</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> and <a href="http://validator.w3.org/check?uri=referer">XHTML</a><br />
			&copy; Copyright 2006 Internet Services, Design: Luka Cvrk - <a href="http://www.solucija.com/" title="What's your solution?">Solucija</a></p>
		</div>
	</div>
<p>
 KIC : <a href="http://www.cakefoundation.org/pages/copyright/">&copy; 2012 Kobe Institute Of Computing.</a>
</p>

<?php echo "";/* $cakeDebug;*/?>
<?php echo $this->Js->writeBuffer(); ?>
</body>
</html>
